﻿<!DOCTYPE html>

<html>

<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
    @Scripts.Render("~/Resource/js/fe.head.js")
</head>

<body>
    <div id="app" v-cloak>
        <div class="edit_pagecontainer">
            <div class="edit_formcontainer">
                <el-form ref="form" :model="form" :label-width="labelWidth" :rules="rules">
                    <el-form-item label="错误时间">
                        <span v-text="form.ErrorDate"></span>
                    </el-form-item>
                    <el-form-item label="错误地址">
                        <span v-text="form.ErrorUrl"></span>
                    </el-form-item>
                    <el-form-item label="说明内容">
                        <span v-text="form.ErrorContent"></span>
                    </el-form-item>
                </el-form>
            </div>
        </div>
        <div class="edit_opcontainer">
            <el-button v-on:click="close">取 消</el-button>
        </div>
    </div>
</body>
@Scripts.Render("~/Resource/js/fe.foot.js")
<script>
    var detailUrl = GetRootPath() + "Frame/ErrorLog/FindDetail";
    var pageData = {
        //data
        form: {


        },
        rules: {
           
        },
        //css
        labelWidth: '100px'
    };

    new Vue({
        el: '#app',
        data: pageData,
        mounted: function () {
            this.bindDetail();
        },
        methods: {
            bindDetail: function () {
                var data = {
                    RowGuid: GetUrlParam("RowGuid")
                }
                JsonAjaxPost(detailUrl, JSON.stringify(data), function (data,
                    status) {
                    if (data.code == 0) {
                        pageData.form = data.data
                    }
                })
            },

            close: function () {
                CloseDialog(null, 'attachconfigedit');
            },

        }
    })
</script>

</html>
